#include <stdio.h>
#include <string.h>

int main()
{
    //char s1[32] = {"123"};//1 2 3 \0 1 2 3 4 5 6 \0 \0 \0
    // char s1[] = {"123"};
    // char* s2 = "123456";

    //strcpy(s1,s2);

    char s1[32] = {"12345\0asdfg"};
    char *s2 = "as123";
    strncpy(s1,s2, 2);
    printf("s1 = %s\n", s1);
}